body,ul,p,h1,h2,h3,h4,dl,dd,form,input,textarea,select,ol,s{ padding:0; margin:0;}
body,html{
    height: 100%;
}
body,ul{
    margin: 0;
    padding: 0;
}
li{list-style:none} 
a{text-decoration:none;}

/* 导航*/
.active{
    background: #E2E2E2;
}
.nav{
    width: 220px;
    height: 100%;
    background: #263238;
}
.nav a{
    display: block;
    overflow: hidden;
    padding: 0px 20px;
    line-height: 46px;
    min-height: 46px;
    color: #ABB1B7;
}
.nav a span{
    margin-left: 30px;
}
.nav-item{
    position: relative;
}
.nav-item.nav-show{
    border-bottom: none;
}
.nav-item ul{
    display: none;
    background: rgba(0,0,0,0.1);
}
.nav-item.nav-show ul{
    display: block;
}
.nav-item>a::before{
    content: "";
    position: absolute;
    left: 0px;
    width: 2px;
    height: 46px;
    background: #34A0CE;
    opacity:0;
    transition: all 0.3s;
}
.nav .nav-icon{
    font-size: 20px;
    height: 100%;
    position: absolute;
    margin-left:-1px;
    text-align: center;
    line-height: 46px;
}

.nav-more{
    font-size: 14px;
    position: absolute;
    right: 20px;
    text-align: center;
    line-height: 46px;
    transition: transform 0.3s;
}
/* 当加上类名nav-show时旋转箭头 */
.nav-show .nav-more{
    transform:rotate(90deg);
} 
.nav-show,
.nav-item>a:hover{
    color: #FFF;
    background:rgba(0,0,0,.1);
}
.nav-show>a::before,
.nav-item>a:hover::before{
    opacity:1;
}
.nav-item li:hover a{
    color: #FFF;
    background: rgba(0, 0, 0,.1);
}